package com.spring.dao;

import com.spring.domain.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Description:
 *
 * @author lijie
 * @create 2019-01-21 21:48
 * Update by lijie 2019-01-21 21:48
 */
@Mapper
public interface DeptDao
{
    public boolean addDept(Dept dept);

    public Dept findById(Long id);

    public List<Dept> findAll();
}
